export interface SummaryData {
  workOrdersCancel?: number;
  workOrdersDispatch?: number;
  workOrdersExecute?: number;
  workOrdersFinished?: number;
  workOrdersOver?: number;
  workOrdersProgress?: number;
  workOrdersTotal?: number;
  workOrdersWaiting?: number;
}

export interface WorkOrdersSummaryRequest {
  createdOnEnd: string;
  createdOnStart: string;
  projectId: string;
}

export interface WorkOrdersDaySummaryResponse {
  excuteCount: number;
  finishCount: number;
  summaryDate: string;
}

export interface WorkOrdersEngineerResponse {
  excuteCount: number;
  finishCount: number;
  userId: string;
  userName: string;
}

export interface WorkOrdersPartResponse {
  companyId: string;
  companyInnerId: string;
  companyShortName: string;
  excuteCount: number;
  finishCount: number;
}

export interface WorkOrdersTypeSummaryResponse {
  addCount: number;
  finishCount: number;
  percentage: string;
  workType: string;
}

export interface WorkOrdersSummaryResponse {
  cancelCount: number;
  constructionCount: number;
  dispatchCount: number;
  executeCount: number;
  finishedCount: number;
  progressCount: number;
  totalCount: number;
  waitingCount: number;
  workOrdersDaySummaryResponses: WorkOrdersDaySummaryResponse[];
  workOrdersEngineerResponses: WorkOrdersEngineerResponse[];
  workOrdersPartResponses: WorkOrdersPartResponse[];
  workOrdersTypeSummaryResponses: WorkOrdersTypeSummaryResponse[];
}
